#-------------------------------------------------
#
# Project created by QtCreator 2014-11-28T14:01:59
#
#-------------------------------------------------

QT       += core gui printsupport network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = DicomPrintStation
TEMPLATE = app

DEFINES += NOMINMAX
DEFINES += _REENTRANT
DEFINES -= UNICODE
QMAKE_CFLAGS_RELEASE += /MD
QMAKE_CFLAGS_DEBUG += -MDd
QMAKE_CXXFLAGS_RELEASE += /MD
QMAKE_CXXFLAGS_DEBUG += -MDd


DCMTK = $$quote("C:\Program Files (x86)\DCMTK_MD")
DCMTK_INCLUDE = $$DCMTK"\include"
INCLUDEPATH += $$DCMTK_INCLUDE
DCMTK_LIB = $$DCMTK"\lib"
LIBS += $$DCMTK_LIB"\*.lib"
LIBS += advapi32.lib wsock32.lib netapi32.lib ws2_32.lib

RC_ICONS = resources/DicomPrintStation.ico

SOURCES += main.cpp\
        mainwindow.cpp \
    setupdialog.cpp \
    aboutdialog.cpp \
    addfilmdialog.cpp \
    ruleitemmodel.cpp \
    ruleitemdelegate.cpp \
    global.cpp \
    printscpthread.cpp \
    dicomprintthread.cpp \
    systrayicon.cpp

HEADERS  += mainwindow.h \
    setupdialog.h \
    aboutdialog.h \
    addfilmdialog.h \
    ruleitemmodel.h \
    global.h \
    ruleitemdelegate.h \
    printscpthread.h \
    dicomprintthread.h \
    systrayicon.h

FORMS    += mainwindow.ui \
    setupdialog.ui \
    aboutdialog.ui \
    addfilmdialog.ui

TRANSLATIONS += \
    DicomPrintStation_cn.ts

RESOURCES += \
    DicomPrintStation.qrc
